﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SJ.Platform.Extend.IOC.Operation
{
    /// <summary>
    /// 操作记录接口
    /// </summary>
    public interface IOperationLogger
    {
        /// <summary>
        /// 新增操作记录
        /// </summary>
        /// <param name="token"></param>
        /// <param name="actionName"></param>
        /// <param name="userId"></param>
        /// <param name="ip"></param>
        /// <param name="details"></param>
        Task AddOperationLogger(string token, string actionName, string userId, string ip, string details);
    }
}
